LassoScript Utility
Basics Browse Detail

[PDF_Read->AddJavaScript]

Tag Link [PDF_Read->AddJavaScript] Category PDF
Type Member Source Available Yes
Support Preferred Version 8.1
Change Unchanged Data Source Any
Output Type None Security None
Implementation LJAPI Sets Lasso 8.5, Lasso 8.0

Description

[PDF_Read->AddJavaScript] adds a new action to the PDF document. The tag requires one parameter which is the JavaScript to be added. The [PDF_Read->Save] tag needs to be called to write out the new PDF file.

Syntax

[Var; 'myPDF' = (File_Read: -File='myPDF.pdf')]
[$myPDF->(AddJavaScript: 'script')]

Parameters

Required Parameters
JavaScript The JavaScript to be added to the PDF document.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Related Tags

Category Tags

Substitution
[PDF_Barcode]
[PDF_Color]
[PDF_Doc]
[PDF_Font]
[PDF_Image]
[PDF_List]
[PDF_Table]
[PDF_Text]
Process
[PDF_Serve]
Member
[PDF_Barcode->GenerateChecksum]
[PDF_Barcode->GetBarHeight]
[PDF_Barcode->GetBarMultiplier]
[PDF_Barcode->GetBarWidth]
[PDF_Barcode->GetBaseline]
[PDF_Barcode->GetCode]
[PDF_Barcode->GetFont]
[PDF_Barcode->GetSize]
[PDF_Barcode->GetTextAlignment]
[PDF_Barcode->GetTextSize]
[PDF_Barcode->GetType]
[PDF_Barcode->SetBarHeight]
[PDF_Barcode->SetBarMultiplier]
[PDF_Barcode->SetBarWidth]
[PDF_Barcode->SetBaseline]
[PDF_Barcode->SetCode]
[PDF_Barcode->SetFont]
[PDF_Barcode->SetGenerateChecksum]
[PDF_Barcode->SetShowChecksum]
[PDF_Barcode->SetTextAlignment]
[PDF_Barcode->SetTextSize]
[PDF_Barcode->ShowChecksum]
[PDF_Barcode->ShowCode39StartStop]
[PDF_Barcode->ShowEANGuardBars]
[PDF_Doc->Add]
[PDF_Doc->AddBarcode]
[PDF_Doc->AddChapter]
[PDF_Doc->AddCheckBox]
[PDF_Doc->AddComboBox]
[PDF_Doc->AddHiddenField]
[PDF_Doc->AddImage]
[PDF_Doc->AddList]
[PDF_Doc->AddPage]
[PDF_Doc->AddParagraph]
[PDF_Doc->AddPasswordField]
[PDF_Doc->AddPhrase]
[PDF_Doc->AddRadioButton]
[PDF_Doc->AddRadioGroup]
[PDF_Doc->AddResetButton]
[PDF_Doc->AddSection]
[PDF_Doc->AddSelectList]
[PDF_Doc->AddSubmitButton]
[PDF_Doc->AddTable]
[PDF_Doc->AddText]
[PDF_Doc->AddTextArea]
[PDF_Doc->AddTextField]
[PDF_Doc->Arc]
[PDF_Doc->Circle]
[PDF_Doc->Close]
[PDF_Doc->ClosePath]
[PDF_Doc->CurveTo]
[PDF_Doc->DrawText]
[PDF_Doc->GetColor]
[PDF_Doc->GetFormat]
[PDF_Doc->GetHeaders]
[PDF_Doc->GetMargins]
[PDF_Doc->GetPageNumber]
[PDF_Doc->GetSize]
[PDF_Doc->InsertPage]
[PDF_Doc->Line]
[PDF_Doc->Rect]
[PDF_Doc->SetColor]
[PDF_Doc->SetFont]
[PDF_Doc->SetLineWidth]
[PDF_Doc->SetPageNumber]
[PDF_Font->GetColor]
[PDF_Font->GetEncoding]
[PDF_Font->GetFace]
[PDF_Font->GetFullFontName]
[PDF_Font->GetPSFontName]
[PDF_Font->GetSize]
[PDF_Font->GetSupportedEncodings]
[PDF_Font->IsTrueType]
[PDF_Font->SetColor]
[PDF_Font->SetEncoding]
[PDF_Font->SetFace]
[PDF_Font->SetSize]
[PDF_Font->SetUnderline]
[PDF_Font->TextWidth]
[PDF_List->Add]
[PDF_Table->Add]
[PDF_Table->GetAbsWidth]
[PDF_Table->GetAlignment]
[PDF_Table->GetBorderColor]
[PDF_Table->GetBorderWidth]
[PDF_Table->GetColumnCount]
[PDF_Table->GetPadding]
[PDF_Table->GetRowCount]
[PDF_Table->GetSpacing]
[PDF_Table->Insert]
[PDF_Table->Remove]
[PDF_Table->SetAlignment]
[PDF_Table->SetBorderColor]
[PDF_Table->SetBorderWidth]
[PDF_Table->SetPadding]
[PDF_Table->SetSpacing]
[PDF_Text->Add]